package cn.itsource.pet.service;

import cn.itsource.basic.util.AjaxResult;
import cn.itsource.basic.util.PageList;
import cn.itsource.org.domain.Employee;
import cn.itsource.pet.domain.SearchMasterMsg;
import cn.itsource.basic.service.IBaseService;
import cn.itsource.pet.dto.AcceptDto;
import cn.itsource.pet.query.SearchMasterMsgQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itsource
 * @since 2022-11-01
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    AjaxResult publish(SearchMasterMsg searchMasterMsg);

    PageList<SearchMasterMsg> selectSearchMasterMessageByParam(SearchMasterMsgQuery searchMasterMsgQuery);

    void accept(AcceptDto acceptDto);

    void reject(Long msgId, Employee employee);
}
